package com.ssy.lingxi.contract.api.model.vo.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 采购竞价合同新增VO
 * @author 伍将
 * @date 2021/3/15
 * @version 2.0.0
 */
public class PurchaseViePriceAddVO implements Serializable {
    private static final long serialVersionUID = -1624695948570350505L;

    /**
     * 竞价会员id
     */
    @NotNull(message = "竞价会员id需大于0")
    @Positive(message = "竞价会员id需大于0")
    private Long memberId;

    /**
     * 竞价会员角色id
     */
    @NotNull(message = "竞价会员角色id需大于0")
    @Positive(message = "竞价会员角色id需大于0")
    private Long roleId;

    /**
     * 竞价单id
     */
    @NotNull(message = "竞价单id需大于0")
    @Positive(message = "竞价单id需大于0")
    private Long viePriceId;

    /**
     * 竞价单号
     */
    @NotBlank(message = "竞价单号不能为空")
    private String viePriceNO;

    /**
     * 竞价摘要
     */
    private String viePriceAbstract;

    /**
     * 竞价发布时间
     */
    @NotNull(message = "竞价发布时间不能为空")
    private Long publishTime;

    /**
     * 授标会员id
     */
    @NotNull(message = "授标会员id需大于0")
    @Positive(message = "授标会员id需大于0")
    private Long awardMemberId;

    /**
     * 授标会员角色id
     */
    @NotNull(message = "授标会员id需大于0")
    @Positive(message = "授标会员角色id需大于0")
    private Long awardRoleId;

    /**
     * 授标会员名称
     */
    @NotNull(message = "授标会员名称不能为空")
    private String awardName;

    /**
     * 授标时间
     */
    @NotNull(message = "授标时间不能为空")
    private Long awardTime;

    /**
     * 授标金额
     */
    @NotNull(message = "授标金额需大于0")
    @Positive(message = "授标金额需大于0")
    private Double awardAmount;

    /**
     * 内部状态
     */
    @NotNull(message = "内部状态不能为空")
    private Integer innerStatus;

    /**
     * 外部状态
     */
    @NotNull(message = "外部状态不能为空")
    private Integer outerStatus;

    /**
     *报价单ID
     */
    private Long id;

    /**
     *报价单号
     */
    private String orderNo;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getViePriceId() {
        return viePriceId;
    }

    public void setViePriceId(Long viePriceId) {
        this.viePriceId = viePriceId;
    }

    public String getViePriceNO() {
        return viePriceNO;
    }

    public void setViePriceNO(String viePriceNO) {
        this.viePriceNO = viePriceNO;
    }

    public String getViePriceAbstract() {
        return viePriceAbstract;
    }

    public void setViePriceAbstract(String viePriceAbstract) {
        this.viePriceAbstract = viePriceAbstract;
    }

    public Long getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Long publishTime) {
        this.publishTime = publishTime;
    }

    public Long getAwardMemberId() {
        return awardMemberId;
    }

    public void setAwardMemberId(Long awardMemberId) {
        this.awardMemberId = awardMemberId;
    }

    public Long getAwardRoleId() {
        return awardRoleId;
    }

    public void setAwardRoleId(Long awardRoleId) {
        this.awardRoleId = awardRoleId;
    }

    public String getAwardName() {
        return awardName;
    }

    public void setAwardName(String awardName) {
        this.awardName = awardName;
    }

    public Long getAwardTime() {
        return awardTime;
    }

    public void setAwardTime(Long awardTime) {
        this.awardTime = awardTime;
    }

    public Double getAwardAmount() {
        return awardAmount;
    }

    public void setAwardAmount(Double awardAmount) {
        this.awardAmount = awardAmount;
    }

    public Integer getInnerStatus() {
        return innerStatus;
    }

    public void setInnerStatus(Integer innerStatus) {
        this.innerStatus = innerStatus;
    }

    public Integer getOuterStatus() {
        return outerStatus;
    }

    public void setOuterStatus(Integer outerStatus) {
        this.outerStatus = outerStatus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
}
